package cn.tedu.cateringsystem.mapper;

import cn.tedu.cateringsystem.pojo.entity.Dish;
import cn.tedu.cateringsystem.pojo.vo.DishVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DishMapper {
    void insert(Dish dish);

    List<DishVO> select();

    String selectUrlById(int id);

    void deleteById(int id);

    List<DishVO> selectByTypeId(int id);
}
